from Entities.Products.Product import Product

class Composite (Product):
    
    def __init__ (self, name, factor, children=None):
        Product.__init__(self, name)
        self.factor = factor
        if children == None:
            self.children = []
        else:
            self.children = children
    